<extend name='Yg/index' />
<block name='main'>
<div id="page-wrapper" style="background-image:url('__PUBLIC__/css/a.jpeg');">

            <div class="container-fluid">

                <!-- Page Heading -->
                <div class="row">
                    <div class="col-lg-12">
                        <h2 class="page-header">
                            餐饮管理系统
                        </h2>
                        <ol class="breadcrumb">
                            <li class="active">
                                <i class="fa fa-dashboard"></i> 您的位置 => 食材口味建议
                            </li>
                        </ol>
                    </div>
                </div>
                <div class="row">
                    <div class="col-lg-8">
                        <div class="alert alert-info alert-dismissable h4">
                            最近食材推荐以 <span class='h3' style='color:red;'> <{$food1}>, <{$food2}>, <{$food3}> </span> 为主<br>
                            而口味风格推荐 <span class='h3' style='color:red;'> <{$taste1}>, <{$taste2}> </span> 和 <span class='h3' style='color:red;'> <{$taste3}> </span> 哟~
                        </div>
                        </div>
                        <div class="col-lg-4 ">
                        <div class="h2">
                            <form action="<{:U('Foodman/clear')}>"  method='post'>                           
                                <input type='hidden' name='confirm' value='1'>
                                <input type='submit' value='一键清空数据统计'>
                            </form>
                        </div>
                    </div>
                </div>
            <div class="row">
            <div class='col-md-6'>
            <table class="table table-striped table-bordered table-hover">
            <thead>
                <tr align='left' bgcolor="#D9EDF7">
                    <th>食材</th>
                    <th>喜好值</th>
                </tr>
            </thead>
            <tbody>
            <volist name="food" id="vo" >
                <tr>
                    <td><{$vo.food}></td>
                    <td><{$vo.choose}></td>
                </tr>
            </volist>
            </tbody>      
        </table>
        </div>

        <div class='col-md-6'>
            <table class="table table-striped table-bordered table-hover">
            <thead>
                <tr align='left' bgcolor="#D9EDF7">
                    <th>口味风格</th>
                    <th>喜好值</th>
                </tr>
            </thead>
            <tbody>
            <volist name="taste" id="vo" >
                <tr>
                    <td><{$vo.taste}></td>
                    <td><{$vo.countnum}></td>
                </tr>
            </volist>
            </tbody>      
        </table>
        </div>
        </div>
                   
            </div>
            <!-- /.container-fluid -->

        </div>
        <!-- /#page-wrapper -->
</block>